home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / lang_c / msc51fix / readme.doc < prev    next >
Text File  |  1988-06-02  |  2KB  |  61 lines

  1. Copyright (c) Microsoft Corp 1984, 1985, 1986, 1987, 1988. All rights reserved.
  2.  
  3.    The files in this archive are for use by owners of Microsoft C Optimizing
  4. Compiler and Microsoft QuickC only.  These objects may be distributed subject
  5. to the restrictions specified in the Microsoft License Agreement provided
  6. with the product.
  7.  
  8.     ------------------------------------------------------------------------
  9.  
  10.    This file contains replacement object files to correct a problem with
  11. formatted output in the Microsoft C 5.10 runtime.  Specificly, printf would
  12. not zero fill floating point numbers when the specified precision is zero.
  13. The cprintf() function also has this problem.  This is demonstrated by the
  14. following example.
  15.  
  16.  
  17.             #include <stdio.h>
  18.  
  19.             main(void)
  20.             {
  21.  
  22.                printf("%04.0f\n", 12.34);
  23.  
  24.             }
  25.  
  26. The current runtime library will output '  12'.  With this update, the
  27. library will output '0012'.
  28.  
  29.    The following is a list of the files in this archive.
  30.  
  31.  
  32.     README.DOC        This file.
  33.     UPDATE.BAT        DOS batch file to update all libraries.
  34.     UPDATE.CMD        OS/2 batch file to update all libraries.
  35.  
  36.     OUTPUT.S        OUTPUT.OBJ for small model libraries.
  37.     OUTPUT.M        OUTPUT.OBJ for medium model libraries.
  38.     OUTPUT.C        OUTPUT.OBJ for compact model libraries.
  39.     OUTPUT.L        OUTPUT.OBJ for large model libraries.
  40.     OUTPUT.CRT        OUTPUT.OBJ for CDLLOBJS.LIB
  41.     OUTPUT.DLL        OUTPUT.OBJ for LLIBCDLL.LIB
  42.     OUTPUT.MT        OUTPUT.OBJ for LLIBCMT.LIB
  43.  
  44.     CPRINTF.S        CPRINTF.OBJ for small model libraries.
  45.     CPRINTF.M        CPRINTF.OBJ for medium model libraries.
  46.     CPRINTF.C        CPRINTF.OBJ for compact model libraries.
  47.     CPRINTF.L        CPRINTF.OBJ for large model libraries.
  48.     CPRINTF.CRT        CPRINTF.OBJ for CDLLOBJS.LIB
  49.     CPRINTF.DLL        CPRINTF.OBJ for LLIBCDLL.LIB
  50.     CPRINTF.MT        CPRINTF.OBJ for LLIBCMT.LIB
  51.  
  52.    To update your libraries, you should place all these files in the same
  53. directory as the libraries and type UPDATE.  The process may take a some
  54. time depending on the number of libraries you created during installation.
  55.  
  56.    The update procedure will create a backup of each library with the
  57. file extension .BAK.  After you assure yourself that the update completed
  58. without error (for example insufficient disk space), you can delete the
  59. backups.  The original combined libraries can always be regenerated using
  60. the SETUP program and the distribution disks.
  61.